#pragma once
#ifndef ENTITYITEM_H
#define ENTITYITEM_H

#include "DXUT.h"
#include "Entity.h"
#include "Item.h"

class EntityItem : public Entity {
private:
	Item * m_Item;
public:
	EntityItem(Item * item, const D3DXVECTOR3& pos);
	EntityItem(Item * item, const D3DXVECTOR3& pos, const D3DXVECTOR3& velo);
	~EntityItem();

	void OnFrameMove( EntityWorld * pWorld, double fTime, float fElapsedTime);

	Item * getItem();

#ifdef RENDER
	void OnD3D11CreateDevice( ID3D11Device* pd3dDevice );
#endif
};

#endif